package per.hx.bs.entity.sys;

import com.baomidou.mybatisplus.annotations.TableName;
import per.hx.bs.base.entity.BaseEntity;

import java.io.Serializable;

/**
 * @author HuXing
 * @date 2018/4/29  21:42
 */
@TableName("sys_user_job")
public class SysUserJobDO extends BaseEntity<SysUserJobDO> {


    private Long id;
    private Long userId;
    private Long jobId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getJobId() {
        return jobId;
    }

    public void setJobId(Long jobId) {
        this.jobId = jobId;
    }


    @Override
    public String toString() {
        return "SysUserJobDO{" +
                "id=" + id +
                ", userId=" + userId +
                ", jobId=" + jobId +
                '}';
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
